/* 自定义样式 */
.task-text {
  transition: all 0.3s ease;
}

.task-text:hover {
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 4px;
  padding: 2px 4px;
}

.list-group-item {
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.btn-group .btn {
  border-radius: 0.375rem;
}

.btn-group .btn:not(:last-child) {
  margin-right: 0.25rem;
}

.card {
  border: none;
  border-radius: 1rem;
}

.card-header {
  border-radius: 1rem 1rem 0 0 !important;
  border-bottom: none;
}

.card-footer {
  border-radius: 0 0 1rem 1rem !important;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* 空状态样式 */
.text-center.py-5 {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    margin-bottom: 0.25rem;
    margin-right: 0;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.list-group-item {
  animation: fadeIn 0.3s ease;
}

/* 复选框样式 */
.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.form-check-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
